﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Master/Admin.Master" AutoEventWireup="true"
    CodeBehind="SqlDbBak.aspx.cs" Inherits="Besture.UI.Admin.Sys.SqlDbBak" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div class="mainbox">
        <div>
            <div>
                <table width="98%" cellspacing="0" cellpadding="0" class="table_form">
                    <tr>
                        <td style="width: 80px">
                            数据库备份：
                        </td>
                        <td style="width: 100px">
                            <cms:TextBox ID="txtDbName" runat="server" WidthExt="Width_250" Required="True"></cms:TextBox>
                        </td>
                        <td style="width: 600px">
                            <asp:Button runat="server" ID="btnSubmit" CssClass="button" Text="保存" OnClick="btnSubmit_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
         <cms:aspxgridview id="grid" clientinstancename="grid" runat="server" width="99%" autogeneratecolumns="False" keyfieldname="ID" oncustomcallback="grid_CustomCallback"
            onrowdeleting="grid_RowDeleting">
            <Columns>
                <cms:GridViewCommandColumn ShowSelectCheckbox="true" VisibleIndex="0" Width="5%" FixedStyle="Left">
                    <HeaderTemplate>
                        <input type="checkbox" onclick="grid.SelectAllRowsOnPage(this.checked);" title="全选/全不选" id="chkAll" runat="server" />
                    </HeaderTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                </cms:GridViewCommandColumn>
                <cms:GridViewCommandColumn VisibleIndex="1" Caption="删除" Width="5%" HeaderStyle-HorizontalAlign="Center" CellStyle-HorizontalAlign="Center" ButtonType="Image"
                    FixedStyle="Left">
                    <DeleteButton Visible="true" Image-Url="/Admin/Themes/Images/del.gif" Text="删除">
                    </DeleteButton>
                </cms:GridViewCommandColumn>
                <cms:GridViewDataTextColumn Caption="编辑" VisibleIndex="2" Width="5%" HeaderStyle-HorizontalAlign="Center" CellStyle-HorizontalAlign="Center" FixedStyle="Left">
                    <DataItemTemplate>
                        
                    </DataItemTemplate>
                </cms:GridViewDataTextColumn>
                <cms:GridViewDataTextColumn Caption="名称" VisibleIndex="3" Width="30%" HeaderStyle-HorizontalAlign="Center" CellStyle-HorizontalAlign="Center" FieldName="Name">
                    <Settings AutoFilterCondition="Contains"></Settings>
                </cms:GridViewDataTextColumn>
                <cms:GridViewDataTextColumn Caption="文件大小(Byte)" VisibleIndex="3" Width="20%" HeaderStyle-HorizontalAlign="Center" CellStyle-HorizontalAlign="Center" FieldName="FileSize">
                    <Settings AutoFilterCondition="Contains"></Settings>
                </cms:GridViewDataTextColumn>
                <cms:GridViewDataDateColumn Caption="备份日期" VisibleIndex="3" Width="15%" HeaderStyle-HorizontalAlign="Center" CellStyle-HorizontalAlign="Center" FieldName="CreateTime">
                    <PropertiesDateEdit DisplayFormatString="{0:yyyy-MM-dd hh:mm:ss}">
                    </PropertiesDateEdit>
                </cms:GridViewDataDateColumn>
                <cms:GridViewDataTextColumn Caption="操作人" VisibleIndex="3" Width="10%" HeaderStyle-HorizontalAlign="Center" CellStyle-HorizontalAlign="Center" FieldName="CreateBy">
                    <Settings AutoFilterCondition="Contains"></Settings>
                </cms:GridViewDataTextColumn>
            </Columns>
        </cms:aspxgridview>
    </div>
</asp:Content>
